import React from 'react'
import qs from 'qs'
import {useLocation} from 'react-router-dom'

export default function Music() {
    const {user,music} =qs.parse(useLocation().search.split('?')[1])
    
  return (
    <div>
        <p>{user}{music}</p>
    </div>
  )
}
